[paket]
tanim   = Modern ve sezgisel terminal tabanlı bir metin düzenleyici
paketci = Cihan_Alkan
grup 	= sistem
url     = https://micro-editor.github.io/

derleme = go
calisma = 

[kaynak]
git     = https://github.com/zyedidia/${isim}

[sha256]

[derle]
betik   = cd $isim
betik   = export CGO_CPPFLAGS="${CPPFLAGS}"
betik   = export CGO_CFLAGS="${CFLAGS}"
betik   = export CGO_CXXFLAGS="${CXXFLAGS}"
betik   = export CGO_LDFLAGS="${LDFLAGS}"
betik   = export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"

betik   = make build
	      
[pakur]
betik   = cd $isim
betik   = install -Dm755 "${isim}" "${PKG}/usr/bin/${isim}"
betik   = install -Dm544 "assets/packaging/micro.desktop" -t "${PKG}/usr/share/applications"
betik   = install -Dm644 "assets/micro-logo-mark.svg" "${PKG}/usr/share/icons/hicolor/scalable/apps/${isim}.svg"
